package gates;

public class XorGate extends Gates {

	@Override
	public boolean eval(boolean input1, boolean input2) {
		return ((input1 && !input2) || (!input1 && input2));
	}

	@Override
	public String toString() {
		return "XOR";
	}

	@Override
	public String toByte() {
		return "11";
	}

}
